package com.example.demo.configuration;

import com.example.demo.services.GetDataServices;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;

import java.io.IOException;

/**
 * @author liyixuan
 * @date 2021年5月13日16:27:11
 */
@Component
public class CommandRunner implements CommandLineRunner {
    @Autowired
    private GetDataServices service;

    @Override
    public void run(String... args) throws IOException {
        System.out.println("Program start! Start the stats!");

    }
}
